package com.ruoyi.exam.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试卷管理对象 qt_exam
 * 
 * @author zqq
 * @date 2021-11-18
 */
public class QtExam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String examId;

    /** 考试名 */
    @Excel(name = "考试名")
    private String examName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date examBeginTime;

    /** 考试时长 */
    @Excel(name = "考试时长" )
    private String examTime;

    /** 试卷id */
    private String paperId;

    /** 发起人 */
    @Excel(name = "发起人")
    private String userId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer examState;

    /** 参考人员 */
    @Excel(name = "参考人员")
    private String examUsers;
    //发起人
    private String userName;
    //考试名称
    private String paperName;

    private String maxTime;
    private String minTime;

    public String getMaxTime() {
        return maxTime;
    }

    public void setMaxTime(String maxTime) {
        this.maxTime = maxTime;
    }

    public String getMinTime() {
        return minTime;
    }

    public void setMinTime(String minTime) {
        this.minTime = minTime;
    }


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPaperName() {
        return paperName;
    }

    public void setPaperName(String paperName) {
        this.paperName = paperName;
    }

    /** 备用字符串 */
    private String examStr;

    /** 备用整数 */
    private Long examInt;

    public void setExamId(String examId) 
    {
        this.examId = examId;
    }

    public String getExamId() 
    {
        return examId;
    }
    public void setExamName(String examName) 
    {
        this.examName = examName;
    }

    public String getExamName() 
    {
        return examName;
    }
    public void setExamBeginTime(Date examBeginTime) 
    {
        this.examBeginTime = examBeginTime;
    }

    public Date getExamBeginTime() 
    {
        return examBeginTime;
    }
    public void setExamTime(String examTime)
    {
        this.examTime = examTime;
    }

    public String getExamTime()
    {
        return examTime;
    }
    public void setPaperId(String paperId) 
    {
        this.paperId = paperId;
    }

    public String getPaperId() 
    {
        return paperId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setExamState(Integer examState) 
    {
        this.examState = examState;
    }

    public Integer getExamState() 
    {
        return examState;
    }
    public void setExamUsers(String examUsers) 
    {
        this.examUsers = examUsers;
    }

    public String getExamUsers() 
    {
        return examUsers;
    }
    public void setExamStr(String examStr) 
    {
        this.examStr = examStr;
    }

    public String getExamStr() 
    {
        return examStr;
    }
    public void setExamInt(Long examInt) 
    {
        this.examInt = examInt;
    }

    public Long getExamInt() 
    {
        return examInt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("examId", getExamId())
            .append("examName", getExamName())
            .append("examBeginTime", getExamBeginTime())
            .append("examTime", getExamTime())
            .append("paperId", getPaperId())
            .append("userId", getUserId())
            .append("examState", getExamState())
            .append("examUsers", getExamUsers())
            .append("examStr", getExamStr())
            .append("examInt", getExamInt())
            .toString();
    }
}
